package com.lzm.back.mapper;


import com.lzm.back.entity.EventCategory;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author Lenovo
 * @description 针对表【event_category(赛事分类表)】的数据库操作Mapper
 * @createDate 2025-03-23 20:19:48
 * @Entity .domain.EventCategory
 */
@Mapper
public interface EventCategoryMapper {

    int deleteByPrimaryKey(Long id);

    int insert(EventCategory record);

    int insertSelective(EventCategory record);

    EventCategory selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(EventCategory record);

    int updateByPrimaryKey(EventCategory record);

    List<EventCategory> selectByCondition(@Param("name") String name);
}
